
<?php
    include_once('Models/LopHocPhan.php');
    include_once('Models/NhatKi.php');
    if ($_SERVER['REQUEST_METHOD'] == 'POST') {
        $hocki = $_POST['cbohocki'];
        $nienkhoa = $_POST['cbonienkhoa'];
        $mahp = $_POST['cbohp'];
        $malophp = $_POST['cbolophp'];
        
        $maso = $_POST['cbomaso'];
        
        if (isset($_POST['btnthem'])){
            //$nhatki = new NhatKi();
            //$nhatki->setMaLopHP($malophp);
            //$result = $nhatki->thongTinNhatKi();
            //$rows = mysql_fetch_array($result);
            require('Views/Capnhatnhatkichitiet.php');
        }
        
        //echo "Hello";
        
    }
    else{ 
        require('Views/Xemnhatki.php');
        
        
        
        
    }

?>  
                                
  


